#pragma once

struct ExchangeType
{
	enum FLAG {SHANGHAI,ZHENZHOU,DALIAN};
};

struct ExchangeStatus
{
	enum FLAG {
		BEFORE_TRADING = 0,
		NO_TRADING = 1,
		CONTINOUS = 2,
		AUCTION_ORDERING = 3,
		AUCTION_BALANCE = 4,
		AUCTION_MATCH = 5,
		CLOSED = 6,
		NONE = 99
	};
};

struct ExchangeNotify
{
	enum FLAG {NONE,CONNECTED,FUND,EXCHANGE_STATUS};

	int type;
	int exchangeType;
	bool isConnected;
	double available;
	int status;
};